package co.edu.usbcali.integrador.mac.modelo.control;

import co.edu.usbcali.integrador.mac.modelo.Garantia;
import co.edu.usbcali.integrador.mac.modelo.dto.GarantiaDTO;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
* @author Zathura Code Generator http://code.google.com/p/zathura
*
*/
public interface IGarantiaLogic {
    public List<Garantia> getGarantia() throws Exception;

    /**
         * Save an new Garantia entity
         */
    public void saveGarantia(Garantia entity) throws Exception;

    /**
         * Delete an existing Garantia entity
         *
         */
    public void deleteGarantia(Garantia entity) throws Exception;

    /**
        * Update an existing Garantia entity
        *
        */
    public void updateGarantia(Garantia entity) throws Exception;

    /**
         * Load an existing Garantia entity
         *
         */
    public Garantia getGarantia(Long idGar) throws Exception;

    public List<Garantia> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Garantia> findPageGarantia(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberGarantia() throws Exception;

    public List<GarantiaDTO> getDataGarantia() throws Exception;
}
